package com.soap.desensitize.posterity;

/**
 * @desc 功能拓展类（子孙后代类）枚举
 */
public enum EPosterity {
    /**
     * @desc 字符串脱敏 - 身份证脱敏
     */
    IDCARD("com.rj.bd.posterity.string.IdCardDesensitization"),
    /**
     * @desc 字符串脱敏 - 手机号脱敏
     */
    PHONE("com.rj.bd.posterity.string.PhoneDesensitization"),
    /**
     * @desc 字符串脱敏 - 普通字符串脱敏
     */
    STRING("com.rj.bd.posterity.string.StringDesensitization")
    ;

    EPosterity(String className) {//构造方法
        this.className = className;
    }

    public String getClassName() {
        return className;
    }

    private String className;

    @Override
    public String toString() {
        return className;
    }
}
